<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{cwzbSyfrForm.bundleName}"/>
    <head>
        <title>#{text['cwzbSyfrDetail.title']}</title>
        <meta name="heading" content="#{text['cwzbSyfrDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="cwzbSyfrForm">

<h:form id="cwzbSyfrForm" onsubmit="return validateCwzbSyfrForm(this)">
<h:inputHidden value="#{cwzbSyfrForm.cwzbSyfr.id}" id="id"/>
<h:inputHidden value="#{cwzbSyfrForm.cwzbSyfr.version}" id="version"/>
<h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{cwzbSyfrForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty cwzbSyfrForm.cwzbSyfr.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{cwzbSyfrForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('CwzbSyfr')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
<h:panelGrid columns="6">
    <h:outputLabel styleClass="desc" for="cdb" value="#{text['cwzbSyfr.cdb']}"/>
    <t:message for="cdb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cdb" value="#{cwzbSyfrForm.cwzbSyfr.cdb}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jfzgl" value="#{text['cwzbSyfr.jfzgl']}"/>
    <t:message for="jfzgl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jfzgl" value="#{cwzbSyfrForm.cwzbSyfr.jfzgl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jzc" value="#{text['cwzbSyfr.jzc']}"/>
    <t:message for="jzc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jzc" value="#{cwzbSyfrForm.cwzbSyfr.jzc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jzczzl" value="#{text['cwzbSyfr.jzczzl']}"/>
    <t:message for="jzczzl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jzczzl" value="#{cwzbSyfrForm.cwzbSyfr.jzczzl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ny" value="#{text['cwzbSyfr.ny']}"/>
    <t:message for="ny" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ny" value="#{cwzbSyfrForm.cwzbSyfr.ny}" required="true" maxlength="255">
        <v:commonsValidator type="required" arg="#{text['cwzbSyfr.ny']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="nzhsr" value="#{text['cwzbSyfr.nzhsr']}"/>
    <t:message for="nzhsr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="nzhsr" value="#{cwzbSyfrForm.cwzbSyfr.nzhsr}" required="false" maxlength="255">
    </h:inputText>
    
    
    <h:outputLabel styleClass="desc" for="szjyl" value="#{text['cwzbSyfr.szjyl']}"/>
    <t:message for="szjyl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="szjyl" value="#{cwzbSyfrForm.cwzbSyfr.szjyl}" required="false" maxlength="255">
    </h:inputText>
   
    <h:outputLabel styleClass="desc" for="zcfzl" value="#{text['cwzbSyfr.zcfzl']}"/>
    <t:message for="zcfzl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zcfzl" value="#{cwzbSyfrForm.cwzbSyfr.zcfzl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zsrzzl" value="#{text['cwzbSyfr.zsrzzl']}"/>
    <t:message for="zsrzzl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zsrzzl" value="#{cwzbSyfrForm.cwzbSyfr.zsrzzl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzsrcdb" value="#{text['cwzbSyfr.zzsrcdb']}"/>
    <t:message for="zzsrcdb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzsrcdb" value="#{cwzbSyfrForm.cwzbSyfr.zzsrcdb}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzsrzb" value="#{text['cwzbSyfr.zzsrzb']}"/>
    <t:message for="zzsrzb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzsrzb" value="#{cwzbSyfrForm.cwzbSyfr.zzsrzb}" required="false" maxlength="255">
    </h:inputText>
    <!-- 
     <h:outputLabel styleClass="desc" for="id" value="#{text['cwzbSyfr.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{cwzbSyfrForm.cwzbSyfr.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['cwzbSyfr.id']}"/>
    </h:inputText>
    <h:inputText styleClass="text medium" id="operation" value="#{cwzbSyfrForm.cwzbSyfr.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['cwzbSyfr.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{cwzbSyfrForm.cwzbSyfr.optdate}" required="false" maxlength="23">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="username" value="#{text['cwzbSyfr.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{cwzbSyfrForm.cwzbSyfr.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['cwzbSyfr.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
     -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateCwzbSyfrForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('cwzbSyfrForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
